#include "Util.h"
#include <SEUi/ImGui/imgui.h>

namespace SEngine
{
    void ShowRT(const std::string & title, int texId)
    {
        ImGui::Begin(title.c_str());
        auto size = ImGui::GetWindowSize();
        size.y -= 20.0f;
        ImGui::Image((ImTextureID)texId, size, ImVec2{0.0f, 1.0f}, ImVec2{1.0f, 0.0f});
        ImGui::End();
    }
} // namespace SEngine
